home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Tools / Languages / Python 1.1 / Lib / sunos4 / regen < prev    next >
Encoding:
Text File  |  1994-08-01  |  321 b   |  13 lines  |  [TEXT/R*ch]

  1. #! /bin/sh
  2. case `uname -sr` in
  3. 'SunOS 4.'*)    ;;
  4. *)    echo Probably not on a SunOS 4 system 1>&2
  5.     exit 1;;
  6. esac
  7. set -v
  8. h2py </usr/include/sys/fcntlcom.h >FCNTL.py
  9. echo "O_ACCMODE = (O_RDONLY|O_WRONLY|O_RDWR)" >>FCNTL.py
  10. h2py /usr/include/sys/socket.h
  11. h2py /usr/include/sys/wait.h
  12. h2py -i '(u_long)' /usr/include/netinet/in.h
  13.